﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class EquipMent : Item
{
    public int Strength;
    public EquipMentType equipMentType;

    public enum EquipMentType
    {
        Head,
        Foot,
        Hand,
    }
    /// <summary>
    /// 装备类
    /// </summary>
    /// <param name="id"></param>
    /// <param name="name"></param>
    /// <param name="item"></param>
    /// <param name="quality"></param>
    /// <param name="description"></param>
    /// <param name="sprite"></param>
    /// <param name="Strength"></param>
    /// <param name="equipMentType"></param>
    public EquipMent(int id, string name, ItemData.ItemType item, ItemData.QualityType quality, string description, string sprite, int Strength, EquipMentType equipMentType) : base(id, name, item, quality, description, sprite)
    {
        this.Strength = Strength;
        this.equipMentType = equipMentType;
    }
    /// <summary>
    /// 拷贝构造函数
    /// </summary>
    /// <param name="item"></param>
    /// <param name="Strength"></param>
    /// <param name="equipMent"></param>
    public EquipMent(Item item, int Strength, EquipMentType equipMent) : base(item)
    {
        this.Strength = Strength;
        this.equipMentType = equipMent;
    }
}
